import Main from '@/components/main'
import parentView from '@/components/parent-view'

/**
 * iview-admin中meta除了原生参数外可配置的参数:
 * meta: {
 *  hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
 *  notCache: (false) 设为true后页面不会缓存
 *  access: (null) 可访问该页面的权限数组，当前路由设置的权限会影响子路由
 *  icon: (-) 该页面在左侧菜单、面包屑和标签导航处显示的图标，如果是自定义图标，需要在图标名称前加下划线'_'
 *  beforeCloseName: (-) 设置该字段，则在关闭当前tab页时会去'@/router/before-close.js'里寻找该字段名对应的方法，作为关闭前的钩子函数
 * }
 */
const routers = [
    {
        name: 'lipin',
        path: '/lipin',
        meta: {
            title: ''
        },
        component: (resolve) => require(['@/view/lipin.vue'], resolve)
    },
    {
        name: 'dsyhq',
        path: '/dsyhq',
        meta: {
            title: ''
        },
        component: (resolve) => require(['@/view/dsyhq.vue'], resolve)
    },
    {
        name: '404',
        path: '/404',
        meta: {
            title: ''
        },
        component: (resolve) => require(['@/view/404.vue'], resolve)
    },
    {
        name: '500',
        path: '/500',
        meta: {
            title: ''
        },
        component: (resolve) => require(['@/view/500.vue'], resolve)
    },
    {
        name: 'mdyhq',
        path: '/mdyhq',
        meta: {
            title: ''
        },
        component: (resolve) => require(['@/view/mdyhq.vue'], resolve)
    }
];
export default routers;

